<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html>
<head>
    <title>发布作业</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
            rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-10 column">
            <div class="page-header">
                <h1>
                    <small>发布作业</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/homework/addHomework" method="post">
        <div class="form-group">
            <label>科目：</label>
            <input type="text" name="cname" class="form-control" required>
        </div>
        <div class="form-group">
            <label>作业内容：</label>
            <input type="text" name="text_content" class="form-control" required>
        </div>
<%--        <div class="form-group">--%>
<%--            <label>提交时间：</label>--%>
<%--            <input type="date" name="sub_time" value="" class="form-control" required>--%>
<%--        </div>--%>
        <div class="form-group">
            <label>提交人：</label>
            <input type="text" name="sname" class="form-control" required>
        </div>
        <div class="form-group">
            <label>所属作业任务id：</label>
            <input type="text" name="task_id" class="form-control" required>
        </div>
        <div class="form-group">
            <label>评语：</label>
            <input type="text" name="howtodo" class="form-control" required>
        </div>
        <div class="form-group">
            <label>成绩：</label>
            <input type="text" name="scope" class="form-control" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="添加">
            <span>${msg}</span>
        </div>
    </form>

</div>
</body>
</html>
